package com.longdaji.decoration.data.network;

import com.google.gson.annotations.SerializedName;

/**
 * Created by longtao on 2018/1/7.
 */

public class HttpResponse<T> {
    @SerializedName("msg")
    private String message;
    @SerializedName("code")
    private String statusCode;
    @SerializedName("resultData")
    private T resultData;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public T getData() {
        return resultData;
    }

    public void setData(T data) {
        this.resultData = data;
    }

    @Override
    public String toString() {
        return "HttpResponse{" +
                "message='" + message + '\'' +
                ", statusCode=" + statusCode +
                ", resultData=" + resultData +
                '}';
    }
}
